package com.yunxin.core.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunxin.core.admin.command.UserSonAddCommand;
import com.yunxin.core.admin.command.UserSonPageCommand;
import com.yunxin.core.admin.domain.AdminUser;
import com.yunxin.core.admin.domain.AdminUserSon;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【sys_user_son(商户用户团队关系表)】的数据库操作Service
* @createDate 2024-07-24 17:03:56
*/
public interface AdminUserSonService extends IService<AdminUserSon> {

    Page<AdminUser> getUserPage(UserSonPageCommand command);

    void addUseSon(UserSonAddCommand command);

    void deleteUseSonById(Integer userId,Integer id);

    AdminUser cutUserByUserId(Integer userId,Integer id);
}
